/*********************************************************************************
 *      Copyright:  (C) 2022 Zhang Changxing<ZhangChangxingVIP@163.com>
 *                  All rights reserved.
 *
 *       Filename:  main.h
 *    Description:  This file imports the header files of the functions used.
 *                 
 *        Version:  1.0.0(05/1/2022)
 *         Author:  Zhang Changxing <ZhangChangxingVIP@163.com>
 *      ChangeLog:  1, Release initial version on "05/1/2022  01:33:25 AM"
 *                 
 ********************************************************************************/
#ifndef  _MAIN_H_
#define  _MAIN_H_

/*System library*/
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/time.h>        
#include <unistd.h>
#include <arpa/inet.h>
#include <signal.h>
#include <libgen.h>
#include <getopt.h>
#include <pthread.h>
#include <termios.h>


/*Third-party libraries*/
#include "sqlite3.h"
#include "logger.h"
#include "mosquitto.h"
#include "cJSON.h"
#include "iniparser.h"

/*Custom header files*/
#include "conf.h"
#include "ds18b20.h"
#include "database.h"
#include "mosq.h"
#include "transf_format.h"
#include "sms.h"
#include "my_thread.h"


#endif